//
//  PPEbookPreviewViewController.h
//  pickpic
//
//  Created by 胡文广 on 2017/4/16.
//  Copyright © 2017年 MicroDream. All rights reserved.
//

#import "PPBaseViewController.h"
@class PPPhoto;
@protocol PPEbookPreviewViewControllerDelegate <NSObject>

- (void)ebookPreviewViewControllerTabView:(PPPhoto *)view;

- (void)ebookPreviewScrollViewDidScrollIndex:(NSInteger)index;
@end
@interface PPEbookPreviewViewController : PPBaseViewController
/**
 *  存放图片的数组
 */
@property (nonatomic,strong) NSMutableArray *photos;
/**
 *  当前的index
 */
@property (nonatomic,assign) NSInteger currentIndex;

/**
 *  是否可以全屏预览  YES：不可以
 */
@property (nonatomic,assign) BOOL isPreviewFullScreen;

/**
 *  是否支持放大、缩小 默认支持 NO
 */
@property (nonatomic,assign) BOOL changeSize;

/**
 *  显示图片浏览器
 */
-(void)show;

/**
 *  返回图片浏览器
 */
+ (instancetype)photoBrowser;


@property (nonatomic,weak) id<PPEbookPreviewViewControllerDelegate> delegate;


- (void)showPhotoDescIndex:(NSInteger)currentIndex;

@property (nonatomic,assign) BOOL normalStyle;




/**
 *  所有内页信息
 */
@property (nonatomic,strong) NSMutableArray *pictures;
@end
